package com.ruoyi.student.mapper;

import java.util.List;
import com.ruoyi.student.domain.Studentattentionlog;

/**
 * 重点关注Mapper接口
 * 
 * @author hoyo
 * @date 2022-12-29
 */
public interface StudentattentionlogMapper 
{
    /**
     * 查询重点关注
     * 
     * @param id 重点关注主键
     * @return 重点关注
     */
    public Studentattentionlog selectStudentattentionlogById(Long id);

    /**
     * 查询重点关注列表
     * 
     * @param studentattentionlog 重点关注
     * @return 重点关注集合
     */
    public List<Studentattentionlog> selectStudentattentionlogList(Studentattentionlog studentattentionlog);

    /**
     * 新增重点关注
     * 
     * @param studentattentionlog 重点关注
     * @return 结果
     */
    public int insertStudentattentionlog(Studentattentionlog studentattentionlog);

    /**
     * 修改重点关注
     * 
     * @param studentattentionlog 重点关注
     * @return 结果
     */
    public int updateStudentattentionlog(Studentattentionlog studentattentionlog);

    /**
     * 删除重点关注
     * 
     * @param id 重点关注主键
     * @return 结果
     */
    public int deleteStudentattentionlogById(Long id);

    /**
     * 批量删除重点关注
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStudentattentionlogByIds(Long[] ids);

    /**
     * 根据学生id查询
     * @param stuSn
     * @return
     */
    Studentattentionlog selectStudentattentionlogByStusn(Long stuSn);
}
